package com.demo.factory;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;

public class CustomBeanFactoryPostProcessor implements BeanFactoryPostProcessor  {

	 //configuring container or adding more custom configuration in container...
	@Override
	public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
	        
		     System.out.println("Initilizing bean factory ..");
		  
	         System.out.println("processing......inside bean factory............");
	         
	         System.out.println("Bean factory initilized successfully......");
	}
	
}
